#ifndef MBAPPWIG_H
#define MBAPPWIG_H

#include <QWidget>
#include "mqtt/qmqtt.h"
#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QCoreApplication>
#include <QFile>
#include <QJsonValue>
#include <QPainter>

namespace Ui {
class MbappWig;
}

class MbappWig : public QWidget
{
    Q_OBJECT

public:
    explicit MbappWig(QWidget *parent = 0);
    ~MbappWig();


private:
    Ui::MbappWig *ui;
    void paintEvent(QPaintEvent * event);

private slots:
    void modbusUpSlot(QByteArray);

    void light();
    void door();

signals:
    void ctldown32(QByteArray);

};

#endif // MBAPPWIG_H
